package ctn.event;

import ctn.contant.PlugContant;
import ctn.util.StringUtils;

public class CTNEventAddPJ extends CTNEvent {
	private final String eventID=PlugContant.EVENT_ADDPJ;
	private String verID;
	
	public CTNEventAddPJ(String verID) {
		super();
		this.verID = verID;
	}

	@Override
	public String getEventID() {
		return this.eventID;
	}
	

	public String getVerID() {
		return verID;
	}

	public void setVerID(String verID) {
		this.verID = verID;
	}

	@Override
	public String toEventLink(){
		StringBuffer sb=new StringBuffer();
		if(!StringUtils.isEmptyString(this.verID)){
			sb.append("verID:").append(this.verID).append(";");
		}
		return sb.toString();
	}
	
}
